<template>
  <div class="main"> <a @click="funcSwitch('0')">首页-功能列表</a> </div>
</template>

<script>
export default {
  methods: {
    funcSwitch(n) {
      this.$emit('funcSwitch', n)
    }
  }
}
</script>
<style>
.main a {
  font-size: 2.5vh;
  cursor: pointer;
  padding: 10px 20px 10px 20px;
  line-height: 5vh;
  transition: 0.2s;
  padding-bottom: 10px;
}

.main a:hover {

  color: white;
  background-color: #4285F4;
  font-size: 3vh;
  font-weight: 800;

}

.main {
  height: 5vh;
}
</style>